package com.guo.core.framework.chain;

import com.guo.core.framework.chain.post.Post;
import com.guo.core.framework.template.TestReq;
import com.guo.core.framework.template.TestRsp;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class APost extends Post<TestReq, TestRsp> {

    @Override
    public void post(TestReq req, TestRsp rsp) {
        // 设置为false将停止继续执行后续链节点逻辑。
//        super.setDoNext(false);
        log.info("执行APost");
        rsp.setName("APost");
    }

}
